import Request from '@/utils/request.js'
let request = new Request().http
let rootPath = "/amountRecord";
function getListByVo(param, pageVo = undefined) {
		if(pageVo != undefined){
			return request({
			    url: rootPath + "/getListByVo", //请求头
			    method: "POST", //请求方式
				data:  JSON.stringify({
					page: pageVo.page,
					size: pageVo.size,
					vo: param
				})
			})
		}else{
			return request({
			    url: rootPath + "/getListByVo", //请求头
			    method: "POST", //请求方式
				data: {
					vo: JSON.stringify(param)
				}
			})
		}
    }
	
// 使用ES模块导出语法
export {
	getListByVo
}